@import '../../styles/mixin';
@import '../../styles/var';
.message{
  .self-center(fixed);
  z-index: 999;
  display: flex;
  border: 1px solid;
  padding: 10px 30px;
  border-radius: 5px;
  box-shadow: -2px 2px 5px rgba(0,0,0,0.5);
  line-height: 2;
  align-items: center;
  color: #ffffff;
  transition: all .5s;
  opacity: 0;
  transform: translateX(-50%) translateY(-150px);
  text-align: center;
  white-space: nowrap;
  &-info{
    background: @gray;
  }
  &-success{
    background: @success;
  }
  &-waring{
    background: @warn;
  }
  &-error{
    background: @danger;
  }
}
.icon{
  font-size: 20px;
  margin-right: 7px;
}

